<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">
  <meta name="description" content="API docs for the CameraPosition class from the amap_flutter_map library, for the Dart programming language.">
  <title>CameraPosition class - amap_flutter_map library - Dart API</title>

  
  <link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:500,400i,400,300|Source+Sans+Pro:400,300,700" rel="stylesheet">
  <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
  <link rel="stylesheet" href="../static-assets/github.css">
  <link rel="stylesheet" href="../static-assets/styles.css">
  <link rel="icon" href="../static-assets/favicon.png">

</head>

<body data-base-href="../"
      data-using-base-href="false">

<div id="overlay-under-drawer"></div>

<header id="title">
  <button id="sidenav-left-toggle" type="button">&nbsp;</button>
  <ol class="breadcrumbs gt-separated dark hidden-xs">
    <li><a href="../index.html">amap_flutter_map</a></li>
    <li><a href="../amap_flutter_map/amap_flutter_map-library.html">amap_flutter_map</a></li>
    <li class="self-crumb">CameraPosition class</li>
  </ol>
  <div class="self-name">CameraPosition</div>
  <form class="search navbar-right" role="search">
    <input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  </form>
</header>

<main>

  <div id="dartdoc-sidebar-left" class="col-xs-6 col-sm-3 col-md-2 sidebar sidebar-offcanvas-left">
    <header id="header-search-sidebar" class="hidden-l">
      <form class="search-sidebar" role="search">
        <input type="text" id="search-sidebar" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
      </form>
    </header>
    
    <ol class="breadcrumbs gt-separated dark hidden-l" id="sidebar-nav">
      <li><a href="../index.html">amap_flutter_map</a></li>
      <li><a href="../amap_flutter_map/amap_flutter_map-library.html">amap_flutter_map</a></li>
      <li class="self-crumb">CameraPosition class</li>
    </ol>
    
    <h5>amap_flutter_map library</h5>
    <ol>
      <li class="section-title"><a href="../amap_flutter_map/amap_flutter_map-library.html#classes">Classes</a></li>
      <li><a href="../amap_flutter_map/AMapController-class.html">AMapController</a></li>
      <li><a href="../amap_flutter_map/AMapWidget-class.html">AMapWidget</a></li>
      <li><a href="../amap_flutter_map/BaseOverlay-class.html">BaseOverlay</a></li>
      <li><a href="../amap_flutter_map/BitmapDescriptor-class.html">BitmapDescriptor</a></li>
      <li><a href="../amap_flutter_map/CameraPosition-class.html">CameraPosition</a></li>
      <li><a href="../amap_flutter_map/CameraTargetBounds-class.html">CameraTargetBounds</a></li>
      <li><a href="../amap_flutter_map/CameraUpdate-class.html">CameraUpdate</a></li>
      <li><a href="../amap_flutter_map/CustomStyleOptions-class.html">CustomStyleOptions</a></li>
      <li><a href="../amap_flutter_map/InfoWindow-class.html">InfoWindow</a></li>
      <li><a href="../amap_flutter_map/Marker-class.html">Marker</a></li>
      <li><a href="../amap_flutter_map/MarkerUpdates-class.html">MarkerUpdates</a></li>
      <li><a href="../amap_flutter_map/MinMaxZoomPreference-class.html">MinMaxZoomPreference</a></li>
      <li><a href="../amap_flutter_map/MyLocationStyleOptions-class.html">MyLocationStyleOptions</a></li>
      <li><a href="../amap_flutter_map/Polygon-class.html">Polygon</a></li>
      <li><a href="../amap_flutter_map/PolygonUpdates-class.html">PolygonUpdates</a></li>
      <li><a href="../amap_flutter_map/Polyline-class.html">Polyline</a></li>
      <li><a href="../amap_flutter_map/PolylineUpdates-class.html">PolylineUpdates</a></li>
    
    
    
    
    
      <li class="section-title"><a href="../amap_flutter_map/amap_flutter_map-library.html#functions">Functions</a></li>
      <li><a href="../amap_flutter_map/keyByMarkerId.html">keyByMarkerId</a></li>
      <li><a href="../amap_flutter_map/keyByPolygonId.html">keyByPolygonId</a></li>
      <li><a href="../amap_flutter_map/keyByPolylineId.html">keyByPolylineId</a></li>
      <li><a href="../amap_flutter_map/serializeOverlaySet.html">serializeOverlaySet</a></li>
    
      <li class="section-title"><a href="../amap_flutter_map/amap_flutter_map-library.html#enums">Enums</a></li>
      <li><a href="../amap_flutter_map/CapType-class.html">CapType</a></li>
      <li><a href="../amap_flutter_map/DashLineType-class.html">DashLineType</a></li>
      <li><a href="../amap_flutter_map/JoinType-class.html">JoinType</a></li>
      <li><a href="../amap_flutter_map/MapType-class.html">MapType</a></li>
    
      <li class="section-title"><a href="../amap_flutter_map/amap_flutter_map-library.html#typedefs">Typedefs</a></li>
      <li><a href="../amap_flutter_map/MapCreatedCallback.html">MapCreatedCallback</a></li>
      <li><a href="../amap_flutter_map/MarkerDragEndCallback.html">MarkerDragEndCallback</a></li>
    
    </ol>
  </div>

  <div id="dartdoc-main-content" class="col-xs-12 col-sm-9 col-md-8 main-content">
      <div><h1><span class="kind-class">CameraPosition</span> class  </h1></div>

    

    <section class="summary offset-anchor" id="constructors">
      <h2>Constructors</h2>

      <dl class="constructor-summary-list">
        <dt id="CameraPosition" class="callable">
          <span class="name"><a href="../amap_flutter_map/CameraPosition/CameraPosition.html">CameraPosition</a></span><span class="signature">(<span class="parameter" id="-param-bearing">{<span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/double-class.html">double</a></span> <span class="parameter-name">bearing</span>: <span class="default-value">0.0</span>, </span><span class="parameter" id="-param-target"><span>@<a href="https://api.flutter.dev/flutter/widgets/required-constant.html">required</a></span> <span class="type-annotation">LatLng</span> <span class="parameter-name">target</span>, </span><span class="parameter" id="-param-tilt"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/double-class.html">double</a></span> <span class="parameter-name">tilt</span>: <span class="default-value">0.0</span>, </span><span class="parameter" id="-param-zoom"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/double-class.html">double</a></span> <span class="parameter-name">zoom</span>: <span class="default-value">10</span>}</span>)</span>
        </dt>
        <dd>
          构造一个CameraPosition 对象 <a href="../amap_flutter_map/CameraPosition/CameraPosition.html">[...]</a>
          <div class="constructor-modifier features">const</div>
        </dd>
      </dl>
    </section>

    <section class="summary offset-anchor" id="instance-properties">
      <h2>Properties</h2>

      <dl class="properties">
        <dt id="bearing" class="property">
          <span class="name"><a href="../amap_flutter_map/CameraPosition/bearing.html">bearing</a></span>
          <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/double-class.html">double</a></span>         
        </dt>
        <dd>
          可视区域指向的方向，以角度为单位，从正北向逆时针方向计算，从0 度到360 度。 
                  <div class="features">final</div>
</dd>
        <dt id="hashCode" class="property">
          <span class="name"><a href="../amap_flutter_map/CameraPosition/hashCode.html">hashCode</a></span>
          <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span>         
        </dt>
        <dd>
          The hash code for this object. <a href="../amap_flutter_map/CameraPosition/hashCode.html">[...]</a>
                  <div class="features">read-only, override</div>
</dd>
        <dt id="runtimeType" class="property inherited">
          <span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html">runtimeType</a></span>
          <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Type-class.html">Type</a></span>         
        </dt>
        <dd class="inherited">
          A representation of the runtime type of the object. 
                  <div class="features">read-only, inherited</div>
</dd>
        <dt id="target" class="property">
          <span class="name"><a href="../amap_flutter_map/CameraPosition/target.html">target</a></span>
          <span class="signature">&#8594; LatLng</span>         
        </dt>
        <dd>
          目标位置的屏幕中心点经纬度坐标。 
                  <div class="features">final</div>
</dd>
        <dt id="tilt" class="property">
          <span class="name"><a href="../amap_flutter_map/CameraPosition/tilt.html">tilt</a></span>
          <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/double-class.html">double</a></span>         
        </dt>
        <dd>
          目标可视区域的倾斜度，以角度为单位。范围从0到360度 
                  <div class="features">final</div>
</dd>
        <dt id="zoom" class="property">
          <span class="name"><a href="../amap_flutter_map/CameraPosition/zoom.html">zoom</a></span>
          <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/double-class.html">double</a></span>         
        </dt>
        <dd>
          目标可视区域的缩放级别 
                  <div class="features">final</div>
</dd>
      </dl>
    </section>

    <section class="summary offset-anchor" id="instance-methods">
      <h2>Methods</h2>
      <dl class="callables">
        <dt id="noSuchMethod" class="callable inherited">
          <span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html">noSuchMethod</a></span><span class="signature">(<wbr><span class="parameter" id="noSuchMethod-param-invocation"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/Invocation-class.html">Invocation</a></span> <span class="parameter-name">invocation</span></span>)
            <span class="returntype parameter">&#8594; dynamic</span>
          </span>
                  </dt>
        <dd class="inherited">
          Invoked when a non-existent method or property is accessed. <a href="https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html">[...]</a>
                  <div class="features">inherited</div>
</dd>
        <dt id="toMap" class="callable">
          <span class="name"><a href="../amap_flutter_map/CameraPosition/toMap.html">toMap</a></span><span class="signature">(<wbr>)
            <span class="returntype parameter">&#8594; dynamic</span>
          </span>
                  </dt>
        <dd>
          将<a href="../amap_flutter_map/CameraPosition-class.html">CameraPosition</a>装换成Map <a href="../amap_flutter_map/CameraPosition/toMap.html">[...]</a>
                  
</dd>
        <dt id="toString" class="callable">
          <span class="name"><a href="../amap_flutter_map/CameraPosition/toString.html">toString</a></span><span class="signature">(<wbr>)
            <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>
          </span>
                  </dt>
        <dd>
          Returns a string representation of this object. 
                  <div class="features">override</div>
</dd>
      </dl>
    </section>

    <section class="summary offset-anchor" id="operators">
      <h2>Operators</h2>
      <dl class="callables">
        <dt id="operator ==" class="callable">
          <span class="name"><a href="../amap_flutter_map/CameraPosition/operator_equals.html">operator ==</a></span><span class="signature">(<wbr><span class="parameter" id="==-param-other"><span class="type-annotation">dynamic</span> <span class="parameter-name">other</span></span>)
            <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a></span>
          </span>
                  </dt>
        <dd>
          The equality operator. <a href="../amap_flutter_map/CameraPosition/operator_equals.html">[...]</a>
                  <div class="features">override</div>
</dd>
      </dl>
    </section>


    <section class="summary offset-anchor" id="static-methods">
      <h2>Static Methods</h2>
      <dl class="callables">
        <dt id="fromMap" class="callable">
          <span class="name"><a href="../amap_flutter_map/CameraPosition/fromMap.html">fromMap</a></span><span class="signature">(<wbr><span class="parameter" id="fromMap-param-json"><span class="type-annotation">dynamic</span> <span class="parameter-name">json</span></span>)
            <span class="returntype parameter">&#8594; <a href="../amap_flutter_map/CameraPosition-class.html">CameraPosition</a></span>
          </span>
                  </dt>
        <dd>
          从Map转换成<a href="../amap_flutter_map/CameraPosition-class.html">CameraPosition</a> <a href="../amap_flutter_map/CameraPosition/fromMap.html">[...]</a>
                  
</dd>
      </dl>
    </section>


  </div> <!-- /.main-content -->

  <div id="dartdoc-sidebar-right" class="col-xs-6 col-sm-6 col-md-2 sidebar sidebar-offcanvas-right">
    <ol>
    
      <li class="section-title"><a href="../amap_flutter_map/CameraPosition-class.html#constructors">Constructors</a></li>
      <li><a href="../amap_flutter_map/CameraPosition/CameraPosition.html">CameraPosition</a></li>
    
      <li class="section-title">
        <a href="../amap_flutter_map/CameraPosition-class.html#instance-properties">Properties</a>
      </li>
      <li><a href="../amap_flutter_map/CameraPosition/bearing.html">bearing</a></li>
      <li><a href="../amap_flutter_map/CameraPosition/hashCode.html">hashCode</a></li>
      <li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html">runtimeType</a></li>
      <li><a href="../amap_flutter_map/CameraPosition/target.html">target</a></li>
      <li><a href="../amap_flutter_map/CameraPosition/tilt.html">tilt</a></li>
      <li><a href="../amap_flutter_map/CameraPosition/zoom.html">zoom</a></li>
    
      <li class="section-title"><a href="../amap_flutter_map/CameraPosition-class.html#instance-methods">Methods</a></li>
      <li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html">noSuchMethod</a></li>
      <li><a href="../amap_flutter_map/CameraPosition/toMap.html">toMap</a></li>
      <li><a href="../amap_flutter_map/CameraPosition/toString.html">toString</a></li>
    
      <li class="section-title"><a href="../amap_flutter_map/CameraPosition-class.html#operators">Operators</a></li>
      <li><a href="../amap_flutter_map/CameraPosition/operator_equals.html">operator ==</a></li>
    
    
      <li class="section-title"><a href="../amap_flutter_map/CameraPosition-class.html#static-methods">Static methods</a></li>
      <li><a href="../amap_flutter_map/CameraPosition/fromMap.html">fromMap</a></li>
    
    
    </ol>
  </div><!--/.sidebar-offcanvas-->

</main>

<footer>
  <span class="no-break">
    amap_flutter_map
      1.1.0
  </span>

</footer>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="../static-assets/typeahead.bundle.min.js"></script>
<script src="../static-assets/highlight.pack.js"></script>
<script src="../static-assets/URI.js"></script>
<script src="../static-assets/script.js"></script>


</body>

</html>
